export interface department {
  name?: string;
  _id?: string;
  permission?: Array<string>;
}
export interface role {
  name?: string;
  _id?: string;
  description?: string;
}
export interface permission {
  name?: string;
  _id?: string;
  path?: string;
  level?: number;
  children?: Array<permission>;
}
export interface userlist {
  name?: string;
  password?: string;
  _id?: string;
  department?: department;
  role?: role;
}
export interface employeelogin {
  permission: Array<permission>;
  userlist: Array<userlist>;
}

export interface tellcode {
  tell: number;
}

export interface contentmange_goods_id {
  name?: string;
  type?: string;
  _id?: string;
}
export interface contentmange_pay_id {
  my_collection?: [];
  my_comment?: [];
  my_like?: [];
  my_follow?: [];
  my_video?: [];
  my_wallet?: []; //我的钱包
  team_name?: [];
  _id?: string;
  user?: string;
  password?: string;
}

export interface contentmange_type_video {
  type_desc?: string;
  type_name?: string;
  _id?: string;
  type_img?: string;
  type_video?: Array<contentmange_type_video>;
}

export interface contentmange_status_user {
  employee_name?: string;
  employee_time?: number;
  employee_password?: string;
  _id?: string;
}

export interface contentmange {
  status?: number; // 0:未审核 1:已审核 2:已删除
  status_time?: number;
  status_user?: contentmange_status_user;
  title?: string;
  type_video?: contentmange_type_video;
  user_id?: contentmange_pay_id;
  video_collection?: [];
  video_desc?: string;
  video_path_time?: number;
  video_fllow?: [];
  video_comment?: [];
  chuangzuojibie?: getcreativelv;
}

export interface getcreativelv {
  level?: number; //创作级别
  level_name?: string; //创作级别名称
  level_desc?: string; //创作级别描述
  level_time?: number; //创作级别时间
  level_state?: number; //创作级别状态
}

//app外联
export interface appoutlink {
  title?: string; //标题
  url?: string; //链接地址
  start_time?: number; //开始时间
  status?: number; //状态
  appcode?: string; //appcode
  appID?: string; //appID
}

export interface tixian {
  _id?: string;
  tixian_time?: number; //提现时间
  tixian_money?: number; //提现金额
  tixian_state?: number; //提现状态
  tixian_employee?: video_empoloyee; //提现员工
  tixian_id?: login_user;
  tixian_ID?: string;
};

export interface video_empoloyee {
  employee_name?: string; //审核员名称
  employee_password?: string; //审核员密码
  employee_time?: number; //审核员注册
}

export interface login_user {
  _id?: string;
  user: string; //用户名
  password: string; //密码
  name: string; //真实姓名
  image: string; //头像
  whether_business: boolean; //是否是商家
  authentication: boolean; //是否实名认证
  vip_grade: string; //会员等级
  my_video: [];
  my_like: []; //我点赞的视频
  my_collection: []; //我收藏的视频
  my_comment: []; //我评论的视频
  my_follow: []; //我关注的人(粉丝)
  nickname: string; //昵称
  my_location: string; //所在地
  WC_nickname: string; //微信昵称
  tel: string; //电话
  wealth: number; //财富值
  autograph: string; //个性签名
  headPortrait: string; //头像
  birthday: string; //生日
  my_wallet: []; //钱包
  team_name: []; //我的团队
  WX_statue: boolean; //是否显示微信号
  tel_statue: boolean; //是否显示电话
  personality_statue: string; //个性化推荐
}

export interface huiyuandingdan {
  _id?: string;
  huiyuan_time: number; //会员时间
  huiyuan_money: number; //会员金额
  huiyuan_state: number; //会员状态
  huiyuan_ID: string;
  huiyuna_buy_con: string; //会员购买内容
  huiyuan_buy_money: number; //会员购买金额
  huiyuan_id: login_user;
}